package io.renren.modules.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.R;
import io.renren.modules.user.entity.TPeopleChangeEntity;
import io.renren.modules.user.entity.TPeopleEntity;
import io.renren.modules.user.entity.form.PeopleChangeForm;

import java.util.List;
import java.util.Map;

/**
 * 人员变更
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-08-02 10:30:00
 */
public interface TPeopleChangeService extends IService<TPeopleChangeEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /*
    * 人员调动
    * */
    R updatepeopleChange(TPeopleChangeEntity tPeopleChangeEntity);

    /*
    *  人员变动信息查询
    * */
    PageUtils findPeopleChange(Map<String, Object> params);

    /**
     * 附件下载
     * @param changeEntity
     * @return
     */
    List<TPeopleChangeEntity> attachmentDownload(TPeopleChangeEntity changeEntity);
}

